package business.controller;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import business.bean.PanduanForm;
import struts.bean.ActionForm;
import struts.interfaces.Action;

public class PanAction  implements Action{ 

	@Override
	public String execute(HttpServletRequest request,HttpServletResponse response, ActionForm form, Map<String, String> actionForward) {
		String url="shibai";
		PanduanForm pdform=(PanduanForm) form;
		if("nnn".equals(pdform.getName())){
			url="chenggong";
		}
		return actionForward.get(url);
	}

}
